package com.sgcc.nfc.lock.domain.usecase

import com.sgcc.nfc.lock.core.network.NetworkResult
import com.sgcc.nfc.lock.domain.model.MapPoint
import com.sgcc.nfc.lock.domain.repository.MapRepository
import javax.inject.Inject

class GetMapRoomsUseCase @Inject constructor(
    private val repository: MapRepository
) {
    suspend operator fun invoke(regionId: Long?, status: Int?): NetworkResult<List<MapPoint>> =
        repository.getMapRooms(regionId, status)
}
